Release 10.1A: OpenEdge Development:
Progress 4GL Reference


Mouse events

Progress supports two types of mouse events — portable and three-button events. You can use portable mouse events to associate triggers with logical actions of any mouse. You can use the three-button mouse events to associate triggers with specific physical actions of a three-button mouse.

The following tables reference portable mouse buttons for portable mouse events and physical mouse buttons for three-button mouse events. For more information on the mapping between portable and physical mouse buttons and how Progress processes mouse events in the 4GL, see the chapter on handling user input in OpenEdge Development: Programming Interfaces .

Portable mouse events

Table 96 lists the mouse events that apply to all mice, no matter how the buttons are configured.

Table 96: Portable mouse events
Event
User action
Affected widgets
Progress action
MOUSE-SELECT-DOWN 
Press the mouse SELECT button.
All
Trigger dependent.
MOUSE-SELECT-UP 
Release the pressed mouse SELECT button.
All
Trigger dependent.
MOUSE-SELECT-CLICK 
Press and release the mouse SELECT button.
All
Trigger dependent.
MOUSE-SELECT-DBLCLICK 
Press and release the mouse SELECT button twice.
All
Trigger dependent.
MOUSE-MENU-DOWN 
Press the mouse MENU button.
All
Trigger dependent.
MOUSE-MENU-UP 
Release the pressed mouse MENU button.
All
Trigger dependent.
MOUSE-MENU-CLICK 
Press and release the mouse MENU button.
All
Trigger dependent.
MOUSE-MENU-DBLCLICK 
Press and release the mouse MENU button twice.
All
Trigger dependent.
MOUSE-EXTEND-DOWN 
Press the mouse EXTEND button.
All
Trigger dependent.
MOUSE-EXTEND-UP 
Release the pressed mouse EXTEND button.
All
Trigger dependent.
MOUSE-EXTEND-CLICK 
Press and release the mouse EXTEND button.
All
Trigger dependent.
MOUSE-EXTEND-DBLCLICK 
Press and release the mouse EXTEND button twice.
All
Trigger dependent.
MOUSE-MOVE-DOWN 
Press the mouse MOVE button.

Note: In Windows, a MOUSE-SELECT-DOWN trigger defined for the same widget takes priority over MOUSE-MOVE-DOWN.

All
Trigger dependent.
MOUSE-MOVE-UP 
Release the pressed mouse MOVE button.

Note: In Windows, a MOUSE-SELECT-UP trigger defined for the same widget takes priority over MOUSE-MOVE-UP.

All
Trigger dependent.
MOUSE-MOVE-CLICK 
Press and release the mouse MOVE button.

Note: In Windows, a MOUSE-SELECT-CLICK trigger defined for the same widget takes priority over MOUSE-MOVE-CLICK.

All
Trigger dependent.
MOUSE-MOVE-DBLCLICK 
Press and release the mouse MOVE button twice.

Note: In Windows, a MOUSE-SELECT-DBLCLICK trigger defined for the same widget takes priority over MOUSE-MOVE-DBLCLICK.

All
Trigger dependent.

Three-button mouse events

Table 97 lists the mouse events associated with physical mouse buttons.

Table 97: Three-button mouse events
Event
User action
Affected widgets
Progress action
LEFT-MOUSE-DOWN 
Press the left mouse button.
All
Trigger dependent.
LEFT-MOUSE-UP 
Release the pressed left mouse button.
All
Trigger dependent.
LEFT-MOUSE-CLICK 
Press and release the left mouse button.
All
Trigger dependent.
LEFT-MOUSE-DBLCLICK 
Press and release the left mouse button twice.
All
Trigger dependent.
RIGHT-MOUSE-DOWN 
Press the right mouse button.
All
Trigger dependent.
RIGHT-MOUSE-UP 
Release the pressed right mouse button.
All
Trigger dependent.
RIGHT-MOUSE-CLICK 
Press and release the right mouse button.
All
Trigger dependent.
RIGHT-MOUSE-DBLCLICK 
Press and release the right mouse button twice.
All
Trigger dependent.
MIDDLE-MOUSE-DOWN 
Press the middle mouse button.
All
Trigger dependent.
MIDDLE-MOUSE-UP 
Release the pressed middle mouse button.
All
Trigger dependent.
MIDDLE-MOUSE-CLICK 
Press and release the middle mouse button.
All
Trigger dependent.
MIDDLE-MOUSE-DBLCLICK 
Press and release the middle mouse button twice.
All
Trigger dependent.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095